package com.charity.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("charity_volunteer")
public class Volunteer implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long volunteerId;

    private Long userId;

    private String realName;

    private String idCard;

    private String education;

    private String occupation;

    private String speciality;

    private Integer serviceHours;

    private Integer status;

    private Date joinTime;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    private String remark;
}